package com.cino.annotation;

import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(OnListPropertyCondition.class)
public @interface ConditionalOnListProperty {

    String[] name() default {};

    String havingValue() default "";

    boolean matchIfMissing() default false;

}

